import request from '@/utils/request'

// 登录接口
export const login = data => {
  return request.post('/user/login', data)
}
export const register = data => {
  return request.post('/user/registered', data)
}
